wpdFormAttr\Form D

Total Complexity 414
Dependencies 6
Dependents 2
Total lines 1,577
Lines of code 1,490
Logical lines of code 837
Comment lines 2
Methods 63
Properties 17

Methods 63

Method Rating Maintainability Complexity Lines of code
renderFormStructure()
D
18
40 325
validateGeneralOptions()
C
34 26 93
getPostRatingHtml()
B
38 22 58
getRatingMetaHtml()
B
37 21 70
isUserCanComment()
B
44 22 35
renderTextEditorButtons()
B
40 17 56
renderFrontForm()
B
41 16 54
savePostRatingMeta()
B
43 16 46
saveCommentMeta()
A
45 14 36
getSingleRatingHtml()
A
43 12 45
isUserCanSeeComments()
A
52 12 22
renderTextEditor()
A
45 10 40
saveFormPostRel()
A
50 10 27
getRatingSchema()
A
51 10 23
setFormID()
A
50 9 29
getThemes()
A
46 8 39
initFormFields()
A
53 9 22
displayRatingMeta()
A
54 9 21
_renderFrontCommentMetaHtml()
S
56 8 15
renderEditFrontCommentForm()
S
48 7 27
theFormListData()
S
59 8 12
saveFormContentTypeRel()
S
54 7 20
getTheme()
S
51 6 27
renderFrontCommentMetaHtml()
S
58 6 15
displayRatingMetaBeforeCommentForm()
S
59 6 14
initFormMeta()
S
60 6 13
cleanUnusedData()
S
58 5 16
showRecaptcha()
S
76 6 3
renderEditAdminCommentForm()
S
51 4 29
validateFields()
S
58 4 15
getLayouts()
S
59 4 14
getDefaultTheme()
S
59 4 14
updateSeparateRatingMeta()
S
60 4 12
saveFormData()
S
58 3 15
defaultFieldsData()
S
47 1 43
validateFormStructure()
S
62 3 12
validateSubscribtionCaptcha()
S
70 3 6
getHeaderTextSingle()
S
68 2 7
transferJSData()
S
71 2 5
getEnableRateOnPost()
S
69 2 7
getPostRatingTitle()
S
68 2 7
getUserCanRateOnPost()
S
69 2 7
getHeaderTextPlural()
S
68 2 7
subscriptionBarAgreementLabel()
S
77 2 3
isShowSubscriptionBarAgreement()
S
75 2 4
getLayout()
S
69 2 7
customFieldsExists()
S
76 2 4
getFormCustomFields()
S
82 1 3
resetData()
S
72 1 6
getGeneralOptions()
S
82 1 3
getFormID()
S
82 1 3
getAllowedFieldsType()
S
81 1 3
getRatingsExists()
S
75 1 5
getCaptchaFied()
S
82 1 3
isShowSubscriptionBar()
S
80 1 3
getCustomCSS()
S
79 1 3
getFormPostTypes()
S
82 1 3
validateDefaultWebsite()
S
71 1 5
validateDefaultName()
S
71 1 5
validateDefaultEmail()
S
67 1 7
validateDefaultCaptcha()
S
75 1 4
getFormFields()
S
82 1 3
__construct()
S
64 1 10